<template>
    <div id="mse"></div>
</template>

<script setup lang="ts">
import Player from 'xgplayer'
import 'xgplayer/dist/index.min.css'

const props = defineProps({
    src: {
        type: String,
        required: true
    }
})

let player = new Player({
    id: 'mse',
    url: props.src,
    height: '100%',
    width: '100%'
})
</script>
